/* 隐藏类 */
.hidden_table0918 {
    display: none !important;
}



/* 容器样式 */
.container_table_table0918 {
    position: fixed;
    z-index: 999;
    top: 30px;
    right: 20px;
    width: 100%;
    max-width: 500px;   
}

/* 关闭图标样式 */
.close-icon_table0918 {
    position: absolute; 
    top: 10px;
    right: 10px;
    width: 24px;
    height: 24px;
    background-color: #f0f0f0;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 20px;
    color: #666;
    z-index: 10;
}

.close-icon_table0918:hover {
    background-color: #e0e0e0;
    color: #333;
}

/* 上传区域样式 */
#upload-container_table_table0918 {
    background-color: #f0f9ff;
    border: 2px dashed #ddd;
    border-radius: 8px;
    padding: 40px 20px;
    text-align: center;
    transition: border-color 0.3s ease;
}

#upload-container_table_table0918.drag-over_table0918 {
    border-color: #067352;
    background-color: #6ee7b8;
}

/* 上传区域文本样式 */
#upload-container_table_table0918 h3 {
    font-size: 20px;
    color: #333;
    margin-bottom: 10px;
}

#upload-container_table_table0918 p {
    font-size: 14px;
    color: #666;
    margin-bottom: 20px;
}

/* 按钮样式 */
label[for="file-upload_table0918"] {
    display: inline-block;
    background-color: #3b82f6;
    color: white;
    padding: 12px 24px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 16px;
    transition: background-color 0.3s ease;
    position: relative;
    overflow: hidden;
}

/* 隐藏文件输入框 */
#file-upload_table0918 {
    opacity: 0;
    z-index: 1;
}

#upload-container_table_table0918 label[for="file-upload_table0918"]:hover {
    background-color: #2563eb;
}

/* 上传中提示 */
#uploading_table0918 {
    position: relative;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: rgba(255, 255, 255, 0.95);
    padding: 20px 30px;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    z-index: 100;
    text-align: center;
}

#uploading_table0918 p {
    color: #3b82f6;
    font-size: 16px;
    margin: 0 0 15px 0;
}

/* 进度条容器 */
#progress-container_table_table0918 {
    width: 200px;
    height: 8px;
    background-color: #e5e7eb;
    border-radius: 4px;
    margin: 0 auto 10px auto;
    overflow: hidden;
}

/* 进度条填充 */
#progress-bar_table0918 {
    width: 0%;
    height: 100%;
    background-color: #3b82f6;
    transition: width 0.3s ease;
}

/* 进度文本 */
#progress-text_table0918 {
    color: #6b7280;
    font-size: 14px;
    margin-top: 5px;
}

#file-size-text_table0918 {
    margin-top: 5px;
    font-size: 12px;
    color: #999;
    font-style: italic;
}

/* 提示框样式 */
#toast_table0918 {
    position: fixed;
    z-index: 9999;
    top: 20px;
    right: 20px;
    background-color: #10b981;
    color: white;
    padding: 12px 20px;
    border-radius: 6px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    z-index: 1000;
}

/* 响应式设计 */
@media (max-width: 600px) {
    .container_table_table0918 {
        padding: 10px;
        z-index: 999;
    }

    #upload-container_table_table0918 {
        padding: 30px 15px;
    }

    #upload-container_table_table0918h3 {
        font-size: 18px;
    }

    #toast_table0918 {
        top: 10px;
        right: 10px;
        left: 10px;
        text-align: center;
    }
}

/* 定义渐隐渐现动画 */
@keyframes fadeInOut {
    0% {
        opacity: 0;
    }

    50% {
        opacity: 1;
    }

    100% {
        opacity: 0;
    }
}

#ocr-animation_table0918 {        
    position: relative;    
    left:50%;
    top: 50%;
    transform: translate(-50%, -50%);
    background-color: rgba(255, 255, 255, 0.95);
    padding: 20px 30px;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    z-index: 100;
    text-align: center;
    

}
/* 应用动画到图片 */
.fade-animation_table0918 {
    animation: fadeInOut 1s infinite ease-in-out;
    width: 200px;
    height: 200px;
    margin: auto;
}
#ai_ico_table0918 {
    position: absolute;
    top: 80px;
    right: 20px;
    cursor: pointer;    
    color: green;
    z-index: 9999;
    transition: none; /* 禁用过渡效果，避免拖拽时的延迟 */
}

#ai_ico_table0918 img {    
    width: 40px;
    height: 40px;  
    margin-left: 15px;    
}

.main-icon_table0918_filter { filter: grayscale(100%);}